package com.chapal.ib.activemq.client;

import java.io.Serializable;

public class MessageObject implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 3546969932719940545L;

	@Override
	public String toString() {
		final StringBuilder builder = new StringBuilder();
		builder.append("MessageObject [consumedTime=").append(this.consumedTime).append(", msg=").append(this.msg).append(", producedTime=").append(this.producedTime).append("]");
		return builder.toString();
	}

	private String msg;
	private long producedTime;

	public long getProducedTime() {
		return this.producedTime;
	}

	public void setProducedTime(long producedTime) {
		this.producedTime = producedTime;
	}

	private long consumedTime;

	public long getConsumedTime() {
		return this.consumedTime;
	}

	public void setConsumedTime(long consumedTime) {
		this.consumedTime = consumedTime;
	}

	public String getMsg() {
		return this.msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}
